package de.tutorial.gregowe;

import java.util.Date;

public class Dept {

	private float amount;
	private String currency;
	private String comment;
	private Date date;
	private Deptor deptor;
	
	public Dept(float amount, String currency, String comment, Date date, Deptor deptor){
		setAmount(amount);
		this.currency=currency;
		this.comment=comment;
		this.date=date;
		this.deptor=deptor;
	}
	
	public float getAmount() {
		return amount;
	}
	public void setAmount(float amount) {
		this.amount = amount;
	}
	public String getCurrency() {
		return currency;
	}
	public void setCurrency(String currency) {
		this.currency = currency;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public Deptor getDeptor() {
		return deptor;
	}
	public void setDeptor(Deptor deptor) {
		this.deptor = deptor;
	}
	
	
	
}
